package com.hzsk.tool.entity.toolanalysis;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;
import java.lang.Double;
import java.math.BigDecimal;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import com.diboot.core.util.D;
import com.diboot.core.entity.BaseModel;
import com.diboot.core.entity.BaseEntity;
import com.diboot.core.binding.query.BindQuery;
import com.diboot.core.binding.query.Comparison;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
* 刀具取料报表 Entity 定义
* @author MyName
* @version 1.0
* @date 2024-11-05
* Copyright © MyCorp
*/
@TableName("tool_material_report")
@Getter @Setter @Accessors(chain = true)
public class ToolMaterialReport extends BaseModel {
    private static final long serialVersionUID = 1795335046385681739L;
     /**
     * 租户
     */
     @NotNull(message = "租户不能为空")
     @TableField()
     private String tenantId;

     /**
     * 刀柄柜名称
     */
     @Length(max=100, message="刀柄柜名称长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String toolHolderCabinetName;

     /**
     * 单据类型
     */
     @TableField()
     private String documentType;

     /**
     * 物料类型
     */
     @TableField()
     private String materialType;

     /**
     * 通道编号
     */
     @Length(max=100, message="通道编号长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String channelNumber;

     /**
     * 取料日期
     */
     @TableField()
     private LocalDate materialPickupDate;

     /**
     * 取料人员
     */
     @Length(max=100, message="取料人员长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String materialPicker;

     /**
     * 物料号
     */
     @Length(max=100, message="物料号长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String materialNumber;

     /**
     * 品名
     */
     @Length(max=100, message="品名长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String productName;

     /**
     * 品牌
     */
     @Length(max=100, message="品牌长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String brand;

     /**
     * 规格型号
     */
     @Length(max=100, message="规格型号长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String specificationModel;

     /**
     * 单位数量
     */
     @Length(max=100, message="单位数量长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String unitQuantity;

     /**
     * 单位
     */
     @Length(max=100, message="单位长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String unit;

     /**
     * 单价
     */
     @Length(max=100, message="单价长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String unitPrice;

     /**
     * 机床
     */
     @Length(max=100, message="机床长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String machineTool;

     /**
     * 实际取料数量
     */
     @Length(max=100, message="实际取料数量长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String actualPickupQuantity;

     /**
     * 总计
     */
     @Length(max=100, message="总计长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String total;


}